package types

type StudentAddReq struct {
	Name    string `json:"name"`
	Sex     int8   `json:"sex"`
	Age     int8   `json:"age,optional"`
	Address string `json:"address,optional"`
}

type StudentEditReq struct {
	Id      int64  `json:"id,optional"`
	Name    string `json:"name,optional"`
	Sex     int8   `json:"sex,optional"`
	Age     int8   `json:"age,optional"`
	Address string `json:"address,optional"`
}

type StudentSearchReq struct {
	Name    string `form:"name,optional"`
	Sex     int8   `form:"sex,optional"`
	Age     int8   `form:"age,optional"`
	Address string `form:"address,optional"`
}
